package com.ctshk.rpc.order.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ctshk.rpc.order.goods.entity.ShoppingShop;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 商城管理 Mapper 接口
 * </p>
 *
 * @author 姜斌文
 * @since 2021-04-06
 */
public interface ShoppingShopMapper extends BaseMapper<ShoppingShop> {

    @Select({
            "SELECT `id`, `shop_type`, `shop_name`, `shop_describe`, `shop_logo`, `shop_default_picture`, `customer_service_hotline`, `ccustomer_service_email`, `is_distribution_allowed`, \n" +
                    "`Is_it_self_provided`, `share_title`, `share_pictures`, `payment_overtime`, \n" +
                    "`receivin_goods_overtime`, `order_overtime`, `gmt_create`, `create_id`, \n" +
                    "`gmt_modified`, `modified_id`, `is_deleted`, `status`, `operator_id`, `shop_url`\n" +
                    "FROM `ctshk-goods`.`t_shopping_shop` where id = \"77446082962915328\"\n" +
                    "limit 1"
    })
    ShoppingShop selectShopById();

}
